Loans API
Create Collateral Right
Description: This endpoint is used to create collateral right.
Mulesoft Request:
Headers:
Mandatory Headers: x-channel-id,x-correlation-id, x-bank-id,client_id, Authorization
Optional Headers: x-sub-channel-id,x-user-id, client_secret,x-debug-flag,x-debug-flag, x-customer-id
Paramaters:
URI Params: NA
Query Params: NA
Content-type: application/json
Body:
{
"customerId": "2058005",
"collateralCode: "1",
"reviewFrequency": "M1201",
"expiryDate": "20220125",
"notes": "LOAN"
}
Mulesoft Response:
Success Response: (200)
{
"status":
{
"success": true,
"code": "200",
"arabicMessage": "تمت العملية بنجاØ",
"englishMessage": "The Operation has been Successfully Completed"
},
"response":
{
"collateral": {
"transactionRef": "2058005.60",
"status": "",
"limit": []
}
}
}